package org.weso.lodin.to;

import java.util.LinkedList;
import java.util.List;

public class DatasetTO {

	String layer;
	String component;
	String code;
	String indicator;
	String variableDescription;
	List<ProviderTO> source;
	String uriDataProvider;
	String  latestReport;
	List<Boolean> criteria;
	String countryCoverage;
	String timeCoverage;
	String dataRange;
	Boolean high;
	String type;
	String missingNotes;
	public String getLayer() {
		return layer;
	}
	public void setLayer(String layer) {
		this.layer = layer;
	}
	public String getComponent() {
		return component;
	}
	public void setComponent(String component) {
		this.component = component;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getIndicator() {
		return indicator;
	}
	public void setIndicator(String indicator) {
		this.indicator = indicator;
	}
	public String getVariableDescription() {
		return variableDescription;
	}
	public void setVariableDescription(String variableDescription) {
		this.variableDescription = variableDescription;
	}

	public List<ProviderTO> getSource() {
		return source;
	}
	public void setSource(List<ProviderTO> source) {
		this.source = source;
	}
	public String getUriDataProvider() {
		return uriDataProvider;
	}
	public void setUriDataProvider(String uriDataProvider) {
		this.uriDataProvider = uriDataProvider;
	}
	public String getLatestReport() {
		return latestReport;
	}
	public void setLatestReport(String latestReport) {
		this.latestReport = latestReport;
	}
	public List<Boolean> getCriteria() {
		if (this.criteria == null){
			this.criteria = new LinkedList<Boolean>();
		}
		return criteria;
	}
	public void setCriteria(List<Boolean> criteria) {
		this.criteria = criteria;
	}
	public String getCountryCoverage() {
		return countryCoverage;
	}
	public void setCountryCoverage(String countryCoverage) {
		this.countryCoverage = countryCoverage;
	}
	public String getTimeCoverage() {
		return timeCoverage;
	}
	public void setTimeCoverage(String timeCoverage) {
		this.timeCoverage = timeCoverage;
	}
	public String getDataRange() {
		return dataRange;
	}
	public void setDataRange(String dataRange) {
		this.dataRange = dataRange;
	}
	public Boolean getHigh() {
		return high;
	}
	public void setHigh(Boolean high) {
		this.high = high;
	}

	@Override
	public String toString() {
		return "DatasetTO [layer=" + layer + ", component=" + component
				+ ", code=" + code + ", indicator=" + indicator
				+ ", variableDescription=" + variableDescription + ", source="
				+ source + ", uriDataProvider=" + uriDataProvider
				+ ", latestReport=" + latestReport + ", criteria=" + criteria
				+ ", countryCoverage=" + countryCoverage + ", timeCoverage="
				+ timeCoverage + ", dataRange=" + dataRange + ", high=" + high
				+ ", type=" + type + ", missingNotes=" + missingNotes + "]";
	}
	public String getMissingNotes() {
		return missingNotes;
	}
	public void setMissingNotes(String missingNotes) {
		this.missingNotes = missingNotes;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
}
